@layout("/common/_container.html"){
<style>
	.input-group{
		/*width:45%;*/
	}
	.row input[type=text],.form-control, .single-line{
	    width:35%;
        float:left;
    }
    .error{
        color:red;
        float:left;
        padding-top: 7px;
        padding-left: 10px;
    }
    .isShow label{
        padding-right:10px;
        padding-top:3px;
    }
	.input-group{
		width:60%;
		margin:0 auto;
	}
	.row input[type=text]{
	width:45%; 
    }
    .error{
        color:red;
    }
</style>
<div class="ibox float-e-margins">
    <div class="ibox-content">
        <div class="form-horizontal">

            <input type="hidden" id="hyId" value="${item.hyId}">

            <div class="row">
                <div class="col-sm-6">
                            <#input id="hyName" name="行业名称" value="${item.hyName}" underline="true"/>
                            <#avatar id="icon" name="图标" avatarImg="${item.icon}" /><div></div>
                        <div style="displa:flex;width:440px;height:50px;line-height:30px;margin:0 auto;">
                       	<span>状态</span>
               					<input type="radio" id="status" name="status" value='1'/>显示
               					<input type="radio" id="Notstatus" name="status" value='0'/>隐藏
               			</div>
              			<div style="displa:flex;width:440px;height:50px;line-height:30px;margin:0 auto;">
                            <span>是否常用</span>
               					<input type="radio" id="hot" name="hot" value='1'/>常用
               					<input type="radio" id="Nothot" name="hot" value='2'/>不常用
               			</div>
               			<script>
              					let status = ${item.status} == '1'
              					$('#status').attr('checked', status), $('#Notstatus').attr('checked', !status);
              			</script>
               			<script>
              					let hot = ${item.hot} == '1'
              					$('#hot').attr('checked', hot), $('#Nothot').attr('checked',!hot);
              			</script>
                            <#input id="initial" name="首字母" value="${item.initial}" underline="true"/>
                            <#input id="sort" name="排序" value="${item.sort}" />
                </div>
            </div>

            <div class="row btn-group-m-t">
                <div class="col-sm-10" style="text-align:center;">
                    <#button btnCss="info" name="提交" id="ensure" icon="fa-check" clickFun="SktShopIndustryInfoDlg.editSubmit()"/>
                    <#button btnCss="danger" name="取消" id="cancel" icon="fa-eraser" clickFun="SktShopIndustryInfoDlg.close()"/>
                </div>
            </div>
        </div>

    </div>
</div>
<script src="${ctxPath}/static/modular/huamao/sktShopIndustry/sktShopIndustry_info.js"></script>
@}
